<?php
require_once '../utils/common.php';
checkUserValidate ();
$type = $_GET['type'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理系统</title>
<link href="../CSS/form.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="../js/jquery-1.10.1.js"></script>
<script type="text/javascript">
	$(function(){
		
	})
</script>
</head>

<body>
	<fieldset>
		<legend>添加</legend>
		<form action="ModelProcess.php" method="post" class="form" enctype="multipart/form-data">
		<input type="hidden" name="flag" value="add" />
		<input type="hidden" name="type" value="<?=$type?>" />
			<ul>
				<li><label>图标:</label></li>
				<li><input type="file" name="icon" id="icon" class="txt" /></li>
				<li><label>名字:</label></li>
				<li><input type="text" name="name" id="name" class="txt" /></li>
					<li><label>链接:</label></li>
					<li><label>填写链接后客户端点击直接跳转浏览器</label></li>
					<li><input type="text" name="link" id="link" class="txt"/></li>
					<li><label>是否是电话模块:</label></li>
					<li><input type= "radio" name= "isPhone" value="1">是电话模块<li>
					<li><input type= "radio" name= "isPhone" value="0">不是电话模块<li>
				<li><input type="submit"
					value="添加"
					class="btn" /></li>
			</ul>
		</form>
	</fieldset>
</body>

</html>